package com.application.domain;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Activity {
    @TableId(value = "ac_id",type = IdType.ASSIGN_ID)
    private String id;
    @TableField("limit_number")
    private Integer number;
    private String description;
    private String community;
    @TableField("po_requirement")
    private String requirement;
    private String name;
    private String kind;
    private String picture;
    private String destination;
    private String tel;
    private String leader;
    private LocalDateTime start;
    private LocalDateTime deadline;
    private String school;
    private Long Likeclick;

//    private String start;
//    private String deadline;
    @TableField("activity_version")
    @Version
    private Integer version;
    @TableField("activity_deleted")
    @TableLogic
    private Integer deleted;


}
